package com.jinmdz.fmis.api.api.model.settlement;

import com.jinmdz.fmis.api.api.model.common.IdVersionData;
import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 重打发票或重打红票数据
 *
 * @author LiCongLu
 * @date 2020-05-14 11:30
 */
@ApiModel(value = "重打发票或重打红票数据", description = "重打发票或重打红票数据")
public class ChargeInvoiceIdData extends BaseBean {

    /**
     * 业务编码
     */
    @AnValidate(name = "业务编码", required = true)
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 发票主键
     */
    @AnValidate(name = "发票主键", required = true)
    @ApiModelProperty(value = "发票主键", name = "invoiceId", position = 2)
    private IdVersionData invoiceId;

    public String getBusinessCode() {
        return businessCode;
    }

    public ChargeInvoiceIdData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public IdVersionData getInvoiceId() {
        return invoiceId;
    }

    public ChargeInvoiceIdData setInvoiceId(IdVersionData invoiceId) {
        this.invoiceId = invoiceId;
        return this;
    }
}
